package com.zhw.cloud.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.zhw.cloud.server.EurekaClient_1;

@RestController
public class SystemController {
	@Autowired
	private EurekaClient_1 client_1;
	
	@RequestMapping("/getName.do")
	public String getName() {
		return "feign_service--->"+client_1.getName();
	}
}
